/*
 * Ant Group
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package com.mashibing.tank;

/**
 * @author zhouzheng
 * @version T.java, v 0.1 2021年08月20日 10:20 上午 zhouzheng
 */
public class Main {
    public static void main(String[] args) throws InterruptedException {
        TankFrame tankFrame = new TankFrame();
        int initTankCount = Integer.parseInt((String)PropertyMgr.get("initTankCount"));
        //初始化敌方坦克
        for (int i = 0; i < initTankCount; i++) {
            tankFrame.tanks.add(new Tank(50 + i*80, 200, Dir.DOWN, Group.BAD, tankFrame));
        }
        while (true){
            Thread.sleep(50);
            tankFrame.repaint();
        }
    }
}